package com.huawei.esdk.uc.u19.business.professional.rest.attendee;

import com.huawei.esdk.platform.common.SDKErrorCode;
import com.huawei.esdk.platform.common.SDKResult;
import com.huawei.esdk.platform.common.exception.SDKException;
import com.huawei.esdk.uc.domain.model.bean.AttendeeInfo;
import com.huawei.esdk.uc.domain.model.u19.Attendee;

public class AttendeeService
{
    public SDKErrorCode operateAttendee(Attendee attendee)
        throws SDKException
    {
        return attendee.operateAttendee(attendee);
    }
    
    public SDKErrorCode transferChairman(Attendee attendee)
        throws SDKException
    {
        return attendee.transferChairman(attendee);
    }
    
    public SDKResult<AttendeeInfo> addAttendee(Attendee attendee)
        throws SDKException
    {
        return attendee.addAttendee(attendee);
    }
    
    public SDKResult<AttendeeInfo> delAttendee(Attendee attendee)
        throws SDKException
    {
        return attendee.delAttendee(attendee);
    }
	
	public SDKErrorCode modifyAttendeeAuthority(Attendee attendee) 
	throws SDKException
    {
        return attendee.modifyAttendeeAuthority(attendee);
    }
    
}
